package ReflectStudy.Exa4;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.AbstractList;

/**
 * 我是测试的Bean
 */
@Resource
public class TestBean<T> extends AbstractList<T> implements Serializable {

    public String name;
    public String code;
    private String password;

    public TestBean(){

    }

    public TestBean(String code){
        this.code = code;
    }

    @Override
    public int size() {
        return 0;
    }

    @Override
    public boolean isEmpty() {
        return false;
    }

    @Override
    public boolean contains(Object o) {
        return false;
    }


    @Override
    public T get(int index) {
        return null;
    }
}
